package com.hqshuke.exchange.instrument.feignClient;


import com.hqshuke.exchange.instrument.dto.TestDto;
import com.hqshuke.exchange.instrument.vo.TestVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.cloud.openfeign.SpringQueryMap;
import org.springframework.web.bind.annotation.GetMapping;

@FeignClient(name = "exchange-instrument")
public interface InstrumentClient {

    @GetMapping("/main/test")
    TestVo test(@SpringQueryMap TestDto testDto);

    @GetMapping("/main/remote")
    String testRemote(@SpringQueryMap TestDto testDto);
}
